package com.sjs.boot.dynamic.core.run.process;

import com.sjs.boot.dynamic.core.run.MethodContext;
import com.sjs.boot.dynamic.facade.run.AbstractProcessor;
import com.sjs.boot.dynamic.protocol.RetCode;

/**
 * @author uto_dev_008
 * @desc
 * @since 2021/11/30 13:59
 * Copyright (c) 2021 南京友拓信息技术有限公司 All rights reserved
 */
public class SelfRDBProcessor extends AbstractProcessor {
    @Override
    public boolean init() {
        return true;
    }

    @Override
    public void destroy() {

    }

    @Override
    public int process(MethodContext context) {
        return RetCode.OK.getCode();
    }

    @Override
    public int afterAll(MethodContext context) {
        return RetCode.OK.getCode();
    }
}
